package com.max.back.pharmacy.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.max.back.entity.PrescriptionItem;
import com.max.back.pharmacy.dao.PrescriptionItemDao;
import com.max.back.pharmacy.form.PrescriptionItemForm;
import com.max.back.pharmacy.service.PrescriptionItemService;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PrescriptionItemServiceImpl extends ServiceImpl<PrescriptionItemDao, PrescriptionItem>
    implements PrescriptionItemService {

  @Override
  public List<PrescriptionItemForm> listPrescriptionItemForm(String id) {
    return baseMapper.listPrescriptionItemForm(id);
  }

  @Override
  public List<PrescriptionItemForm> listRepercussion(String id) {
    return baseMapper.listRepercussion(id);
  }

  @Override
  public List<PrescriptionItemForm> listAll(String id) {
    return baseMapper.listAll(id);
  }
}
